import request from '@/utils/request'

// 支出列表
export function portList(data) {
	return request({
		url: '/internal/expenditureRecordApp/list',
		method: 'POST',
		data
	})
}

// 详情
export function portDetail(id) {
	return request({
		url: `/internal/expenditureRecordApp/getInfo/${id}`,
		method: 'POST'
	})
}

// 删除
export function portDelete(id) {
	return request({
		url: `/internal/expenditureRecordApp/delete/${id}`,
		method: 'POST'
	})
}

// 修改
export function portEdit(data) {
	return request({
		url: '/internal/expenditureRecordApp/update',
		method: 'POST',
		data
	})
}

// 新增
export function portAdd(data) {
	return request({
		url: '/internal/expenditureRecordApp/add',
		method: 'POST',
		data
	})
}
